Skip to content

Parse videopress media details #841

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 19, 2025
Merged

Parse videopress media details #841

merged 1 commit into from
Aug 19, 2025

Conversation

crazytonyli
Copy link
Contributor

Atomic sites (maybe all sites with Jetpack Videopress enabled) returns a media_details JSON object that is not compatible with the one in core. That means the parse_as_mime_type function does not return VideoMediaDetails.

We want to add a dedicated function to parse the media_details values provide by the VideoPress plugin.

@crazytonyli crazytonyli enabled auto-merge (squash) August 19, 2025 00:08
Atomic sites (maybe all sites with Jetpack Videopress enabled) returns a
`media_details` JSON object that is not compatible with the one in core.
That means the `parse_as_mime_type` function does not return
`VideoMediaDetails`.

We want to add a dedicated function to parse the `media_details` values
provide by the VideoPress plugin.
@crazytonyli
Copy link
Contributor Author

Rebased to include changes in #842.

@crazytonyli crazytonyli merged commit 54da056 into trunk Aug 19, 2025
20 checks passed
@crazytonyli crazytonyli deleted the parse-videopress branch August 19, 2025 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants